import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
import { getConvertRouter } from "./getConvertRouter";
import routers from "../config/routers";

var convertRouter = function convertRouter(app) {
  return getConvertRouter({
    cpaasRoutes: routers,
    options: {
      app: app
    }
  });
};

export function getWrapperRouterData(app) {
  return _objectSpread({}, convertRouter(app)());
}
export function getRouterData(app) {
  return convertRouter(app)();
}
